<div class="login">
  <div class="login-wrapper">

    <div class="mpass-logo">
      <img src="../../../../assets/img/mpass-logo.png">
      <div>
        yaya
      </div>
    </div>


    <div class="login-inner">
      <div class="login-box">
        <div class="login-main">
          <div class="login-title">
            帐号登录
          </div>
          <div>
            <nz-input [nzPlaceHolder]="'用户名'" [nzSize]="'large'" [(ngModel)]="user.username" style="width:300px;height:36px">
              <ng-template #prefix>
                <i class="anticon anticon-user"></i>
              </ng-template>
            </nz-input>
            <nz-input [nzType]="'password'" [nzPlaceHolder]="'密码'" [(ngModel)]="user.password" [nzSize]="'large'" style="margin-top:15px;width:300px;height:36px">
              <ng-template #prefix>
                <i class="anticon anticon-lock"></i>
              </ng-template>
            </nz-input>
          </div>

          <div *ngIf="errorMsg != ''" class="login-error">
             <p>{{errorMsg}}</p>
          </div>
          <div class="login-btn">
            <input type="button" value="登 录" (click)="userlogin()">
          </div>

          <div class="login-method">

            <div class="other-method"></div>
            <div class="login-forgot">
              <a>忘记帐号</a>
              <a>忘记密码</a>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="login-foot">
      <div class="copyright">
        Copyright © 2014-2018 MPASS.All Rights Reserved.MPASS 版权所有
      </div>
    </div>
  </div>
</div>